{% extends "base.html" %} {% block title %}Manage Q&A - Admin Panel{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
Admin Panel

{{ get_current_user().name }}

Management
{% include 'admin/_management_sidebar.html' %}

Q&A Moderation

Monitor medical discussions and ensure quality responses

{% set qf = qa_filter|default('all') %} {% if questions %} {% for question in questions %} {% set ans_list = question.answers.filter_by(is_deleted=False).all() %} {% set item_index = (pagination.page - 1) * pagination.per_page + loop.index %}
{{ item_index }}
{% if question.patient.user.profile_picture %} {{ question.patient.user.name }} {% else %} {{ question.patient.user.name[0].upper() }} {% endif %}
{{ question.title }}
{% if ans_list %} Answered {% else %} Pending {% endif %} View Details
{{ question.patient.user.name }}
{{ question.category|upper }}
{% if ans_list %}
Medical Responses
{% for answer in ans_list %}
{% if answer.doctor.user.profile_picture %} {{ answer.doctor.user.name }} {% else %} {{ answer.doctor.user.name[0].upper() }} {% endif %}
{{ answer.doctor.user.name }}
PMC Verified
{% endfor %}
{% endif %}
{% endfor %} {% if pagination.pages > 1 %} {% endif %} {% else %}
{% if qf != 'all' %}
No inquiries in this view

Try another summary card above or switch back to all inquiries.

Show all inquiries {% else %}
No Questions Yet

All patient inquiries will appear here for your review.

{% endif %}
{% endif %}
{% endblock %}